package kr.hkit.info.powerjava.ch23;

public class MyRunnable implements Runnable {
	private String name;

	public MyRunnable(String name) {
		this.name = name;
	}

	@Override
	public void run() {
		for(char ch='A'; ch<='Z' ; ch++){
			System.out.printf(ch+"");
			try {
				Thread.sleep(1000);
			} catch ( InterruptedException e) {
				e.printStackTrace();
			}
		}

	}

}
